package com.seth.myapplication.surface;


import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

import com.seth.myapplication.R;

/**
 * Created by Seth on 2017/10/11.
 */

public class page3Fragment extends Fragment {

    private View view;
    private TextView mTextView;

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        view = inflater.inflate(R.layout.second_page_fragment, container, false);

        mTextView = (TextView) view.findViewById(R.id.txt);

        mTextView.setText("这是第三个页面！！");

        return view;

    }

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

    }

}
